<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'employee-daily-report-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'employeeId'); ?>
		<?php echo $form->textField($model,'employeeId'); ?>
		<?php echo $form->error($model,'employeeId'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'currentProjectId'); ?>
		<?php echo $form->textField($model,'currentProjectId'); ?>
		<?php echo $form->error($model,'currentProjectId'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'reportDate'); ?>
		<?php echo $form->textField($model,'reportDate'); ?>
		<?php echo $form->error($model,'reportDate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'workStatus'); ?>
		<?php echo $form->textField($model,'workStatus'); ?>
		<?php echo $form->error($model,'workStatus'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'workAbsenceReason'); ?>
		<?php echo $form->textField($model,'workAbsenceReason',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'workAbsenceReason'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'workSummary'); ?>
		<?php echo $form->textField($model,'workSummary',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'workSummary'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'workDescription'); ?>
		<?php echo $form->textArea($model,'workDescription',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'workDescription'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'workSuggestion'); ?>
		<?php echo $form->textArea($model,'workSuggestion',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'workSuggestion'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'workTechnicProblem'); ?>
		<?php echo $form->textArea($model,'workTechnicProblem',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'workTechnicProblem'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'workNextDayPlan'); ?>
		<?php echo $form->textArea($model,'workNextDayPlan',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'workNextDayPlan'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'createTime'); ?>
		<?php echo $form->textField($model,'createTime'); ?>
		<?php echo $form->error($model,'createTime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'createUserId'); ?>
		<?php echo $form->textField($model,'createUserId'); ?>
		<?php echo $form->error($model,'createUserId'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'updateTime'); ?>
		<?php echo $form->textField($model,'updateTime'); ?>
		<?php echo $form->error($model,'updateTime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'updateUserId'); ?>
		<?php echo $form->textField($model,'updateUserId'); ?>
		<?php echo $form->error($model,'updateUserId'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->